FROM mysql/mysql-server:8.0.31

MAINTAINER Strive(732171109@qq.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# 执行sql脚本
ADD ./*.sql /docker-entrypoint-initdb.d/